﻿using System;
namespace Chaliy.Syndication.CreativeCommons
{
    public abstract class License
    {
        public Uri Value
        {
            get;
            set;
        }

        public static License CreateAtom(Uri licenseUri)
        {
            ArgumentUtilities.EnsureArgumentNotNull(licenseUri, "licenseUri");

            return new AtomLicenseLink() { Value = licenseUri };
        }
    }
}
